"""
# -*- coding: utf-8 -*-
# @Time    : 2023/5/23 10:21
# @Author  : 王摇摆
# @FileName: Data.py
# @Software: PyCharm
# @Blog    ：https://blog.csdn.net/weixin_44943389?type=blog
"""
from sklearn.datasets import make_classification

X, y = make_classification(n_features = 2, n_informative = 2, n_redundant = 0, n_samples = 100, n_classes = 2, random_state = 0)
y[y == 0] = -1
print("随机森林数据集已生成完毕！")

'''
生成进行二分类的数据集
'''